DISCUSSION
The
ATSUClearStyle function removes all previously set style run, font feature, and font variation values from a style object, including application-defined attributes. It does not remove reference constants.
If you wish to remove only the style run attributes, font features, or font variations from a style object, call the functions
ATSUClearAttributes,
ATSUClearFontFeatures, and
ATSUClearFontVariations, respectively.